<%@ page language="java" contentType="application/xhtml+xml; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<u:html-top title="Create A New Aliquot for ${aliquot.extraction.label }"/>
<c:if test="${userHasWritePrivileges }">
<form method="POST" action="validate">
<input type="hidden" name="extraction_id" value="${aliquot.extraction.id}"/>
<div class="formLayout">

<label>Extraction</label>
<u:extraction-href extraction="${aliquot.extraction}"/>
<br/>

<label for="t_index">Index</label>
<input id="t_index" name="index" value="<c:out value="${aliquot.index}" escapeXml="true"/>"/>
<br/>
 
<label for="t_concNanoDrop">Concentration Nanodrop (ng/&#956;l)</label>
<input id="t_concNanoDrop" name="concNanoDrop" value="<c:out value="${aliquot.concNanoDrop}" escapeXml="true"/>"/>
<br/>

<label for="t_ratio260280">Ratio 260/280</label>
<input id="t_ratio260280" name="ratio260280" value="<c:out value="${aliquot.ratio260280}" escapeXml="true"/>"/>
<br/>

<label for="t_ratio260230">Ratio 260/230</label>
<input id="t_ratio260230" name="ratio260230" value="<c:out value="${aliquot.ratio260230}" escapeXml="true"/>"/>
<br/>

<label for="t_concPicoGreen">Concentration Picogreen</label>
<input id="t_concPicoGreen" name="concPicoGreen" value="<c:out value="${aliquot.concPicoGreen}" escapeXml="true"/>"/>
<br/>

<label for="t_gel">Gel Validation</label>
 <select id="t_gel" name="gel">
 		<option value="" <c:if test="${empty aliquot.gel}"> selected='true' </c:if> >undefined</option>
 		<option value="1" <c:if test="${aliquot.gel eq 1}"> selected='true' </c:if> >YES: validated</option>
 		<option value="0" <c:if test="${aliquot.gel eq 0}"> selected='true' </c:if> >NO: not validated</option>
 </select>
<br/>

<label for="t_volume">Volume (&#956;l)</label>
<input id="t_volume" name="volume" value="<c:out value="${aliquot.volume}" escapeXml="true"/>"/>
<br/> 
 
 
 
 <label>&nbsp;</label><input type="submit" /><br/>
</div>
</form>
</c:if>
<u:html-bottom/>